closeField
Type
message
Summary
Sent to a field when the focus is being removed from that field and the field's content has changed.
Syntax
closeField
Description
Handle the closeField message if you want to make sure a field's content is correct after it has been changed.
Examples
on closeField -- make sure the user has entered a valid date
local tText
put the text of me into tText
if tText is not a date then
beep
answer "Please enter a date."
set the selectedRange of the target to "1," & \
the number of chars in tText
end if
end closeField
Compatibility and Support
OS
android